# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file '/home/muhammad/workspace/Linux Control Panel/src/UI Files/current/FirewallRuleConfig.ui'
#
# Created: Sun Jul 11 09:29:52 2010
#      by: PyQt4 UI code generator 4.7.2
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_FirewallRuleEdit(object):
    def setupUi(self, FirewallRuleEdit):
        FirewallRuleEdit.setObjectName("FirewallRuleEdit")
        FirewallRuleEdit.resize(719, 294)
        self.glMain = QtGui.QGridLayout(FirewallRuleEdit)
        self.glMain.setObjectName("glMain")
        self.lblSourceAddress = QtGui.QLabel(FirewallRuleEdit)
        self.lblSourceAddress.setObjectName("lblSourceAddress")
        self.glMain.addWidget(self.lblSourceAddress, 0, 0, 1, 1)
        self.lblDestinationAddress = QtGui.QLabel(FirewallRuleEdit)
        self.lblDestinationAddress.setObjectName("lblDestinationAddress")
        self.glMain.addWidget(self.lblDestinationAddress, 0, 1, 1, 1)
        self.txtSourceAddress = QtGui.QLineEdit(FirewallRuleEdit)
        self.txtSourceAddress.setObjectName("txtSourceAddress")
        self.glMain.addWidget(self.txtSourceAddress, 1, 0, 1, 1)
        self.txtDestinationAddress = QtGui.QLineEdit(FirewallRuleEdit)
        self.txtDestinationAddress.setObjectName("txtDestinationAddress")
        self.glMain.addWidget(self.txtDestinationAddress, 1, 1, 1, 1)
        self.lblInputInterface = QtGui.QLabel(FirewallRuleEdit)
        self.lblInputInterface.setObjectName("lblInputInterface")
        self.glMain.addWidget(self.lblInputInterface, 2, 0, 1, 1)
        self.lblOutputInterface = QtGui.QLabel(FirewallRuleEdit)
        self.lblOutputInterface.setObjectName("lblOutputInterface")
        self.glMain.addWidget(self.lblOutputInterface, 2, 1, 1, 1)
        self.txtInputInterface = QtGui.QLineEdit(FirewallRuleEdit)
        self.txtInputInterface.setObjectName("txtInputInterface")
        self.glMain.addWidget(self.txtInputInterface, 3, 0, 1, 1)
        self.txtOutputInterface = QtGui.QLineEdit(FirewallRuleEdit)
        self.txtOutputInterface.setObjectName("txtOutputInterface")
        self.glMain.addWidget(self.txtOutputInterface, 3, 1, 1, 1)
        self.lblRulesAction = QtGui.QLabel(FirewallRuleEdit)
        self.lblRulesAction.setObjectName("lblRulesAction")
        self.glMain.addWidget(self.lblRulesAction, 6, 0, 1, 1)
        self.lblRulesSpecialAction = QtGui.QLabel(FirewallRuleEdit)
        self.lblRulesSpecialAction.setObjectName("lblRulesSpecialAction")
        self.glMain.addWidget(self.lblRulesSpecialAction, 6, 1, 1, 1)
        self.cmbRulesAction = QtGui.QComboBox(FirewallRuleEdit)
        self.cmbRulesAction.setObjectName("cmbRulesAction")
        self.cmbRulesAction.addItem("")
        self.cmbRulesAction.addItem("")
        self.cmbRulesAction.addItem("")
        self.cmbRulesAction.addItem("")
        self.cmbRulesAction.addItem("")
        self.cmbRulesAction.addItem("")
        self.cmbRulesAction.addItem("")
        self.cmbRulesAction.addItem("")
        self.glMain.addWidget(self.cmbRulesAction, 9, 0, 1, 1)
        self.cmbRulesSpecialAction = QtGui.QComboBox(FirewallRuleEdit)
        self.cmbRulesSpecialAction.setEnabled(False)
        self.cmbRulesSpecialAction.setObjectName("cmbRulesSpecialAction")
        self.cmbRulesSpecialAction.addItem("")
        self.glMain.addWidget(self.cmbRulesSpecialAction, 9, 1, 1, 1)
        spacerItem = QtGui.QSpacerItem(20, 50, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Maximum)
        self.glMain.addItem(spacerItem, 10, 1, 1, 1)
        self.btnbxApply = QtGui.QDialogButtonBox(FirewallRuleEdit)
        self.btnbxApply.setStandardButtons(QtGui.QDialogButtonBox.Cancel | QtGui.QDialogButtonBox.Ok)
        self.btnbxApply.setObjectName("btnbxApply")
        self.glMain.addWidget(self.btnbxApply, 11, 1, 1, 1)
        self.lblNotifications = QtGui.QLabel(FirewallRuleEdit)
        self.lblNotifications.setStyleSheet("color: rgb(255, 0, 0);")
        self.lblNotifications.setText("")
        self.lblNotifications.setObjectName("lblNotifications")
        self.glMain.addWidget(self.lblNotifications, 11, 0, 1, 1)
        self.cmbProtocol = QtGui.QComboBox(FirewallRuleEdit)
        self.cmbProtocol.setObjectName("cmbProtocol")
        self.cmbProtocol.addItem("")
        self.cmbProtocol.addItem("")
        self.cmbProtocol.addItem("")
        self.cmbProtocol.addItem("")
        self.glMain.addWidget(self.cmbProtocol, 5, 0, 1, 1)
        self.lblProtocol = QtGui.QLabel(FirewallRuleEdit)
        self.lblProtocol.setObjectName("lblProtocol")
        self.glMain.addWidget(self.lblProtocol, 4, 0, 1, 1)

        self.retranslateUi(FirewallRuleEdit)
        QtCore.QObject.connect(self.btnbxApply, QtCore.SIGNAL("rejected()"), FirewallRuleEdit.reject)
        QtCore.QMetaObject.connectSlotsByName(FirewallRuleEdit)
        FirewallRuleEdit.setTabOrder(self.txtSourceAddress, self.txtDestinationAddress)
        FirewallRuleEdit.setTabOrder(self.txtDestinationAddress, self.txtInputInterface)
        FirewallRuleEdit.setTabOrder(self.txtInputInterface, self.txtOutputInterface)
        FirewallRuleEdit.setTabOrder(self.txtOutputInterface, self.cmbRulesAction)
        FirewallRuleEdit.setTabOrder(self.cmbRulesAction, self.cmbRulesSpecialAction)
        FirewallRuleEdit.setTabOrder(self.cmbRulesSpecialAction, self.btnbxApply)

    def retranslateUi(self, FirewallRuleEdit):
        FirewallRuleEdit.setWindowTitle(QtGui.QApplication.translate("FirewallRuleEdit", "Dialog", None, QtGui.QApplication.UnicodeUTF8))
        self.lblSourceAddress.setText(QtGui.QApplication.translate("FirewallRuleEdit", "Source Address", None, QtGui.QApplication.UnicodeUTF8))
        self.lblDestinationAddress.setText(QtGui.QApplication.translate("FirewallRuleEdit", "Destination Address", None, QtGui.QApplication.UnicodeUTF8))
        self.txtSourceAddress.setText(QtGui.QApplication.translate("FirewallRuleEdit", "0.0.0.0/0", None, QtGui.QApplication.UnicodeUTF8))
        self.txtDestinationAddress.setText(QtGui.QApplication.translate("FirewallRuleEdit", "0.0.0.0/0", None, QtGui.QApplication.UnicodeUTF8))
        self.lblInputInterface.setText(QtGui.QApplication.translate("FirewallRuleEdit", "Input Interface", None, QtGui.QApplication.UnicodeUTF8))
        self.lblOutputInterface.setText(QtGui.QApplication.translate("FirewallRuleEdit", "Output Interface", None, QtGui.QApplication.UnicodeUTF8))
        self.txtInputInterface.setText(QtGui.QApplication.translate("FirewallRuleEdit", "any", None, QtGui.QApplication.UnicodeUTF8))
        self.txtOutputInterface.setText(QtGui.QApplication.translate("FirewallRuleEdit", "any", None, QtGui.QApplication.UnicodeUTF8))
        self.lblRulesAction.setText(QtGui.QApplication.translate("FirewallRuleEdit", "Target (Action)", None, QtGui.QApplication.UnicodeUTF8))
        self.lblRulesSpecialAction.setText(QtGui.QApplication.translate("FirewallRuleEdit", "Target Options", None, QtGui.QApplication.UnicodeUTF8))
        self.cmbRulesAction.setItemText(0, QtGui.QApplication.translate("FirewallRuleEdit", "Do Nothing", None, QtGui.QApplication.UnicodeUTF8))
        self.cmbRulesAction.setItemText(1, QtGui.QApplication.translate("FirewallRuleEdit", "Accept", None, QtGui.QApplication.UnicodeUTF8))
        self.cmbRulesAction.setItemText(2, QtGui.QApplication.translate("FirewallRuleEdit", "Drop", None, QtGui.QApplication.UnicodeUTF8))
        self.cmbRulesAction.setItemText(3, QtGui.QApplication.translate("FirewallRuleEdit", "Reject", None, QtGui.QApplication.UnicodeUTF8))
        self.cmbRulesAction.setItemText(4, QtGui.QApplication.translate("FirewallRuleEdit", "Userspace", None, QtGui.QApplication.UnicodeUTF8))
        self.cmbRulesAction.setItemText(5, QtGui.QApplication.translate("FirewallRuleEdit", "Exit Chain", None, QtGui.QApplication.UnicodeUTF8))
        self.cmbRulesAction.setItemText(6, QtGui.QApplication.translate("FirewallRuleEdit", "Log Packet", None, QtGui.QApplication.UnicodeUTF8))
        self.cmbRulesAction.setItemText(7, QtGui.QApplication.translate("FirewallRuleEdit", "Run Chain", None, QtGui.QApplication.UnicodeUTF8))
        self.cmbRulesSpecialAction.setItemText(0, QtGui.QApplication.translate("FirewallRuleEdit", "Special Action", None, QtGui.QApplication.UnicodeUTF8))
        self.cmbProtocol.setItemText(0, QtGui.QApplication.translate("FirewallRuleEdit", "All", None, QtGui.QApplication.UnicodeUTF8))
        self.cmbProtocol.setItemText(1, QtGui.QApplication.translate("FirewallRuleEdit", "TCP", None, QtGui.QApplication.UnicodeUTF8))
        self.cmbProtocol.setItemText(2, QtGui.QApplication.translate("FirewallRuleEdit", "UDP", None, QtGui.QApplication.UnicodeUTF8))
        self.cmbProtocol.setItemText(3, QtGui.QApplication.translate("FirewallRuleEdit", "ICMP", None, QtGui.QApplication.UnicodeUTF8))
        self.lblProtocol.setText(QtGui.QApplication.translate("FirewallRuleEdit", "Protocol", None, QtGui.QApplication.UnicodeUTF8))
